<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Matrix4测试</title>
</head>

<body>
    <script type="module">
        import { Matrix4 } from '../../Math/Matrix4.js'
        const A = new Matrix4();
        A.elements[0] = 2;
        console.log('A', A);
        const B = A.clone();
        console.log('B', B);
        const C = new Matrix4();
        B.elements[4] = 999;
        C.copy(B);
        console.log('C', C);
        const D = C.clone().multiplyScalar(4);
        console.log('D', D);
        console.log('det(D)', D.determinant());
        const E = new Matrix4().set(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16);
        console.log('E', E);
        const F = E.clone();
        F.transpose();
        console.log('F', F);
    </script>
</body>

</html>